package com.alongstudio.account.commons.utils;

public class StringUtil {
	public static String concatArray(Object[] ids) {
		String result = "";
		for (int i = 0; i < ids.length; i++) {
			result += ids[i] + ",";
		}
		return result.substring(0, result.length() - 1);
	}
	
	public static String concatArrayWithQuote(String[] ids) {
		String result = "";
		for (int i = 0; i < ids.length; i++) {
			result += "'"+ids[i] + "',";
		}
		return result.substring(0, result.length() - 1);
	}
}
